﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>零售系统</title>
    <link rel="shortcut icon" href="images/favicon.ico" />
    <link href="js/jquery-easyui-1.2.6/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-easyui-1.2.6/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="js/jquery-easyui-1.2.6/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="js/jquery-easyui-1.2.6/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="js/outlook.js" type="text/javascript"></script>
    <link href="css/wms.css" rel="stylesheet" type="text/css" />
    <link href="css/icon.css" rel="stylesheet" type="text/css" />
    <script src="js/datetime.js" type="text/javascript"></script>
    <script src="js/jquery.cookies.2.2.0.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#imgHome").bind("click", function () {
                addTab("主页", "Welcome.aspx", "icon-home");
            });
            $("#imgRepass").bind("click", function () {
                if ($.messager.confirm("操作提示", "您确定要重新登录吗？", function (data) {
                    if (data) {
                        location.href = "Logout.aspx";
                    }
                }));
            });
            $("#imgExit").bind("click", function () {
                if ($.messager.confirm("操作提示", "您确定要退出吗？", function (data) {
                    if (data) {
                        window.close();
                    }
                }));
            });
        })
    </script>
    <script type="text/javascript">
        $(function () {
            $('.submenu').tree({
                onClick: function (node) {
                    if (!$(this).tree('isLeaf', node.target)) {
                        $(this).tree('toggle', node.target);
                    }
                }
            });
        });
    </script>
</head>
<body class="easyui-layout">
    <div class="header" region="north" border="false" style="height: 72px;">
        <div class="header-logo">
        </div>
        <ul style="width: 680px; float: left; padding-top: 13px; padding-left: 15px;">
            <li>所属店铺名称：<asp:Literal ID="ltSupperGuideName" runat="server"></asp:Literal></li>
            <li>用户名：<asp:Literal ID="ltUser" runat="server"></asp:Literal>
                <span style="padding-left: 20px;">热线：400-629-2969</span> <span style="padding-left: 20px;">
                    邮箱：718295@qq.com</span> <span style="padding-left: 20px;">市场督导：admin(TEL:12345678901,12654378901)</span>
            </li>
        </ul>
        <ul style="width: 180px; float: right; padding-top: 13px; text-align:right; padding-right:15px;">
            <li><a id="imgHome" style="cursor:pointer;">返回首页</a> | <a id="imgRepass" style="cursor:pointer;">重新登录</a> | <a id="imgExit" style="cursor:pointer;">安全退出</a> </li>
            <li>技术支持：草莓(润软)</li>
        </ul>
    </div>
    <div region="west" split="true" title="导航菜单" style="width: 180px;">
        <asp:Repeater ID="rptMenu" runat="server" OnItemDataBound="rptMenu_ItemDataBound">
            <HeaderTemplate>
                <div class="easyui-accordion" fit="true" border="false">
            </HeaderTemplate>
            <ItemTemplate>
                <div title='<%# DataBinder.Eval(Container.DataItem,"ModelName") %>' iconcls="icon-folder">
                    <asp:Literal ID="ltModelID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"ID") %>'></asp:Literal>
                </div>
            </ItemTemplate>
            <FooterTemplate>
                </div>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    <div region="south" split="true" style="height: 5px;">
    </div>
    <div region="center">
        <div id="tabs" class="easyui-tabs" fit="true" border="false">
            <div title="主页" iconcls="icon-home">
                <iframe frameborder="0" src="Welcome.aspx"></iframe>
            </div>
        </div>
    </div>
</body>
</html>
